package org.wlc.demov3;

import java.util.concurrent.TimeUnit;

/**
 * @author 王立朝
 * @date 2022/5/26
 * @description:
 */
public interface CacheService {
    String get(final String key);

    void set(String key, String value);

    void set(String key, String value, long timeout, TimeUnit timeUnit);

    void del(String key);
}
